import Vue from 'vue'
import Router from 'vue-router'
import bridge from "./modules/bridge"
import sys from "./modules/sys"
import rel from "./modules/rel"
import param from "./modules/param"
import task from "./modules/task"
import maintain from "./modules/maintain"
import help from "./modules/help"
import Home from "../components/pages/Home"
import decision from "./modules/decision"
import stat from "./modules/stat"
import report from "./modules/report"

Vue.use(Router);

export default new Router({
  mode: 'history',
  base: "/jczx",
  routes: [
    {path: "/", component: Home, meta: {keepAlive: true}},
    ...sys,
    ...param,
    ...rel,
    ...bridge,
    ...task,
    ...maintain,
    ...help,
    ...decision,
    ...stat,
    ...report
  ]
})


// WEBPACK FOOTER //
// ./src/router/index.js
